﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DeSleeper.Client.Framework;

namespace DeSleeper.Client.Service
{
    public class ServiceViewModel : ViewModelBase
    {
        public AsyncCommand InstallServiceCommand { get; private set; }
        public AsyncCommand UninstallServiceCommand { get; private set; }
        public AsyncCommand ConfigureTargetsCommand { get; private set; }
        
        public ServiceViewModel()
        {
            InstallServiceCommand = new InstallServiceCommand();
            SetCommandEvents(InstallServiceCommand);

            UninstallServiceCommand = new UninstallServiceCommand();
            SetCommandEvents(UninstallServiceCommand);

            ConfigureTargetsCommand = new ConfigureTargetsCommand();
            SetCommandEvents(ConfigureTargetsCommand);
        }
    }
}
